#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME                  := /usr/lib/jvm/java-gcj
DEB_ANT_BUILD_TARGET       := jar javadoc
DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt

install/libjgoodies-binding-java::
	install -m 644 -D build/binding.jar $(DEB_DESTDIR)/usr/share/java/binding-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/binding-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/binding.jar

get-orig-source:
	-uscan --upstream-version 0
